package com.collaboration.electron.dao;

import com.collaboration.electron.entities.U;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author lydia
 * @param
 * @return 无
 */

public interface UserRepository extends CrudRepository<U,Long> {

    @Override
    List<U> findAll();

    U findByUserName(String name);
}
